from pydantic import BaseModel, Field
from typing import Any


class Settings(BaseModel):
    en_name: str = Field(title='该配置项的英文名称')
    zh_name: str = Field(title='该配置项的英文名称')
    data: Any = Field(title='该配置项的数据')


class ComplaintDealState(BaseModel):
    key: int = Field(..., title='指示该状态的 key')
    label: str = Field(..., title='状态的描述')
